import request from '@/utils/request'

// 查询供货商存货对照列表
export function listInventory_supplier(query) {
  return request({
    url: '/system/inventory_supplier/list',
    method: 'get',
    params: query
  })
}

// 查询供货商存货对照详细
export function getInventory_supplier(relationId) {
  return request({
    url: '/system/inventory_supplier/' + relationId,
    method: 'get'
  })
}

// 新增供货商存货对照
export function addInventory_supplier(data) {
  return request({
    url: '/system/inventory_supplier',
    method: 'post',
    data: data
  })
}

// 修改供货商存货对照
export function updateInventory_supplier(data) {
  return request({
    url: '/system/inventory_supplier',
    method: 'put',
    data: data
  })
}

// 删除供货商存货对照
export function delInventory_supplier(relationId) {
  return request({
    url: '/system/inventory_supplier/' + relationId,
    method: 'delete'
  })
}
